package com.platform.api.bzproject.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 扣量记录表
 * </p>
 *
 * @author guoshao
 * @since 2022-02-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_bz_deduction_record")
public class BzDeductionRecord extends Model {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String parentId;

    private String userId;

    /**
     * 当日总广告数量
     */
    private int sumCount;

    /**
     * 当日总扣量
     */
    private int deCount;

    /**
     * 扣量时间-天
     */
    private Date deTime;


}
